﻿@model LogisticsPackageNoteTemplateModel
@using Telerik.Web.Mvc.UI;
@using Nop.Admin.Models.Logistics;

@Html.ValidationSummary(false)
@Html.HiddenFor(model => model.Id)

    <table class="adminContent">
        <tr>
            <td class="adminTitle">
                @Html.NopLabelFor(model => model.ReferenceId):
            </td>
            <td class="adminData">
                @Html.TextBoxFor(model => model.ReferenceId)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.NopLabelFor(model => model.SystemName):
            </td>
            <td class="adminData">
                @Html.EditorFor(model => model.SystemName)
                @Html.ValidationMessageFor(model => model.SystemName)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.NopLabelFor(model => model.Published):
            </td>
            <td class="adminData">
                @Html.EditorFor(model => model.Published)
                @Html.ValidationMessageFor(model => model.Published)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.NopLabelFor(model => model.DisplayOrder):
            </td>
            <td class="adminData">
                @Html.EditorFor(model => model.DisplayOrder)
                @Html.ValidationMessageFor(model => model.DisplayOrder)
            </td>
        </tr>
    </table>

    @(Html.LocalizedEditor<LogisticsPackageNoteTemplateModel, LogisticsPackageNoteTemplateLocalizedModel>("packagenote-template-info-localized",
                @<table class="adminContent">
                    <tr>
                        <td class="adminTitle">
                            @Html.NopLabelFor(model => model.Locales[item].Content):
                        </td>
                        <td class="adminData">
                            @Html.TextAreaFor(model => model.Locales[item].Content)
                            @Html.ValidationMessageFor(model => model.Locales[item].Content)
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            @Html.HiddenFor(model => model.Locales[item].LanguageId)
                        </td>
                    </tr>
                </table>
                ,
                @<table class="adminContent">
                    <tr>
                        <td class="adminTitle">
                            @Html.NopLabelFor(model => model.Content):
                        </td>
                        <td class="adminData">
                            @Html.TextAreaFor(model => model.Content)
                            @Html.ValidationMessageFor(model => model.Content)
                        </td>
                    </tr>
                </table>))